import unittest
from unit821.A3mall_01 import A3mall

# TestSuite测试套件 1
# suite=unittest.TestSuite()
# suite.addTest(A3mall('test_A3mall_02_search'))

# 将A3mall里面全部执行一遍 2
# suite=unittest.TestLoader().loadTestsFromTestCase(A3mall)

# 3
suite=unittest.defaultTestLoader.discover(start_dir='./',pattern='A3mall*.py')

# TestRunner测试执行
runner=unittest.TextTestRunner()
runner.run(suite)